package zjut.cocouml.editpolicy;

import org.eclipse.gef.commands.Command;
import org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy;
import org.eclipse.gef.requests.CreateConnectionRequest;
import org.eclipse.gef.requests.ReconnectRequest;

import zjut.cocouml.model.Compartment;
import zjut.cocouml.model.relationship.BRelationship;
import zjut.cocouml.part.relationship.ExtendsRelationshipPart;

public abstract class AppGraphicalNodeEditPolicy extends GraphicalNodeEditPolicy {

	public abstract Command getConnectionCompleteCommand(
			CreateConnectionRequest request);

	public abstract Command getConnectionCreateCommand(CreateConnectionRequest request) ;

	protected Command getReconnectSourceCommand(ReconnectRequest request) {

		return null;
	}

	protected Command getReconnectTargetCommand(ReconnectRequest request) {

		return null;
	}

}
